@import "~@assets/styles/varibless.less";

.topFiltrate {
  width: 100%;
  height: 54px;
  background-color: @lightBoxColor;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;

  .topFiltratetitle {
    position: absolute;
    line-height: 54px;
    top: 0;
    left: 20px;
  }

  p {
    padding: 0 20px;
    line-height: 30px;
    cursor: default;
    position: relative;
    cursor: pointer;
  }

  //头部导航高亮
  .activep {
    color: #fff;
    //border-image: linear-gradient(0deg, #1991EB, #2EA1F8) 10 10;
    background: linear-gradient(0deg, #1991EB 10%, #2EA1F8 90%);
  }
  ::v-deep .ant-calendar-picker{
    opacity: 0!important;
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
  }
}
.historybox{
  padding: 20px;
  border-radius: 4px;
  overflow: hidden;position: relative;

}
h4{
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: @lightlingtColor;
  line-height: 29px;
}
.quantityOFGacility {

  //padding: 20px 10px;

  li {
    width: 100%;
    margin: 10px 1.5%;
    border: 1px solid #E6EAEE;
    border-radius: 2px;
    text-align: center;
    position: relative;
    padding: 24px 0;
    box-sizing: border-box;
  }

  h5 {
    font-size: 36px;
    font-family: Proxima Nova;
    font-weight: 400;
    color: #289DF5;
    line-height: 42px;
  }

  p {
    font-size: 12px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: @lightlingtColor;
    line-height: 22px;
  }

  a {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #289DF5;
  }
}

.pielegendbox {
  display: flex;
  flex-direction: row;
  //align-items: center;
  justify-content: center;
  // background-color: rgba(255, 255, 255, 0.3);
  //border-left: 1px solid #E6EAEE;
}

.pielegend {
  line-height:40px;
  // height: 40px;
  padding-left: 20px;

  //border-bottom: 1px solid #E6EAEE;

  &:last-child {
    border: 0 !important;
  }

  .quan {

    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: 10px;
  }

  .name {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #7F8FA4;
    line-height: 18px;
    margin-right: 10px;
  }

  .value {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: @lightlingtColor;
    line-height: 32px;
    display: block;
  }
}
.alarmhistorybox{
  display: flex;
  flex-direction: column;
  //align-items: center;
  justify-content: center;
  // background-color: rgba(255, 255, 255, 0.3);
  border-left: 1px solid #E6EAEE;

  .alarmhistory{
    line-height:140px;
    height: 140px;
    padding-left: 20px;
    border-bottom: 1px solid #E6EAEE;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    &:last-child{
    border: 0;
  }

    .value{
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color:@lightlingtColor;
      line-height: 34px;
    }
    .name {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color:@lightSubColor;
      line-height: 34px;
    }
  }
}
//报警历史
.alarmStyle{
  padding: 20px;
  ul{
    overflow: hidden;
    li{
      float: left;
      margin-right: 20px;
      line-height: 30px;
      font-size: 16px;
      padding:0 36px;
      position: relative;

      .liicon{
        position: absolute;
        top:-1px;
        right: -1px;

      }
    }
  }
}
//
.progressbox{
  height: 660px;
  overflow: hidden;
  overflow-y: scroll;
}
.progressdivtime {
  padding: 8px 12px;
  box-sizing: border-box;
 
  .progressOnenametime {
    margin-right: 4%;
    display: inline-block;
    width: 24%;
    text-align: right;

  }
  .progressOnename{
    width: 20%;
    display: inline-block;
  }
}
